/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.zentello.sbot;

import java.util.List;

/**
 *
 * @author anthony
 * 
 * Interface for monitoring test progress in.
 * The lifecycle of an observer is
 * # Setup
 * # Testfinished for each test that runs
 * # Details on failure mode for each test that runs
 * # SuiteFinished at the end of the test tuite
 * # Close before terminating the observer
 * 
 */
public abstract class TestSuiteObserver extends SBOT_LCC{

    public abstract void testFinished(String name, boolean pass);
    
    /**
     * Called when the test itself fails. 
     * @param name 
     */
    public abstract void testFailed(String name);

    /**
    * Called when test setup fails. 
    * @param name 
    */
    public abstract void setupFailed(String name);

    /**
    * Called when test teardown fails. 
    * @param name 
    */
    public abstract void teardownFailed(String name);

    /**
     * Called when the suite finishes
     * @param result 
     */
    public abstract void suiteFinished(boolean result);
    
}
